/**
 * ExportPlainFileAction.java
 * Author: liuex
 * 2007-12-20 ����12:02:55
 *
 * Note: 
 */
package lex.proxyverfier.importexport;

import org.lex.net.proxy.ProxyServer;

public class ExportToPlainFile extends AbstractExportProxyServer
{
	@Override
	public StringBuilder format( StringBuilder dest, ProxyServer ps )
	{
		dest.append( ps.getName() ).append( ' ' );
		dest.append( ps.getType().name() ).append( ' ' );
		dest.append( ps.getHost() ).append( ' ' );
		dest.append( ps.getPort() );
		return dest;
	}
}
